<template>
  <div>
    <div class="s-title" @click="stitleclcik">
      <span>{{ text }}</span>
    </div>
  </div>
</template>

<script>
export default {
  name: "sTitle",
  props: {
    text: "",
    type: String,
  },
  data() {
    return {};
  },
  mounted() {},
  methods:{
    stitleclcik(){
       this.$emit('stitleClick');  
    }
  }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style>
.te-left {
  background: url(~@/assets/image/common/left-show-module-bg.png) !important;
  background-size: 100% 100% !important;
}

.te-right {
  background: url(~@/assets/image/common/right-show-module-bg.png) !important;
   background-size: 100% 100% !important;
}
.s-title {
  width: 90%;
  height: 50px;
  line-height: 30px;
  font-size: 27px;
  letter-spacing: 2px;
  margin: auto;
  margin-bottom: 10px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  background-image: url(~@/assets/image/common/global_sub_title.png);
  text-align: center;
}
.s-title span {
  color: #3dffef;
  background: linear-gradient(180deg, #69efff 0%, #bce7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 1000;
}
</style>
 